const files = require.context('@/views', true, /\.vue$/)
const pages = {}
files.keys().forEach(item => {
    var key = item.replace('./', '/')
    pages[key] = files(item).default
})
export default pages
